-
Home
-
Elementor Website Builder – More Than Just a Page Builder
-
3.25.11
-
Code
-
Classes
- Svg_Sanitizer
Total Complexity |
62 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
645 |
Lines of code |
339 |
Logical lines of code |
129 |
Comment lines |
261 |
Methods |
21 |
Properties |
1 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_safe_href() |
A |
48 |
8 |
36 |
validate_allowed_attributes() |
A |
54 |
9 |
19 |
sanitize() |
S |
48 |
6 |
32 |
get_allowed_attributes() |
S |
37 |
1 |
94 |
sanitize_file() |
S |
56 |
5 |
20 |
sanitize_elements() |
S |
59 |
4 |
14 |
is_allowed_tag() |
S |
62 |
3 |
12 |
get_allowed_elements() |
S |
48 |
1 |
38 |
strip_xlinks() |
S |
66 |
3 |
9 |
validate_use_tag() |
S |
69 |
3 |
6 |
strip_doctype() |
S |
69 |
3 |
7 |
strip_php_tags() |
S |
64 |
3 |
9 |
strip_comments() |
S |
66 |
3 |
8 |
is_remote_value() |
S |
64 |
2 |
9 |
is_encoded() |
S |
66 |
2 |
8 |
remove_element() |
S |
81 |
1 |
3 |
is_a_attribute() |
S |
78 |
1 |
3 |
has_js_value() |
S |
79 |
1 |
3 |
decode_svg() |
S |
80 |
1 |
3 |
encode_svg() |
S |
80 |
1 |
3 |
strip_line_breaks() |
S |
79 |
1 |
3 |